﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" type="text/css" rel="stylesheet" />
    <link href="@Url.Content("~/Content/Site.css")" type="text/css" rel="stylesheet" />
    <link href="@Url.Content("~/Content/jquery.dataTables.css")" rel="Stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.7.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-18.20.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.address-1.4.min.js")" type="text/javascript" ></script>
    <script src="@Url.Content("~/Scripts/jquery.form.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DialogForm.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.dataTables.js")" type="text/javascript"></script>
    <script type="text/javascript">
        
        $('document').ready(function () {
            $(function () {
                $("#accordionStartPage").accordion();
            });
            // For forward and back
            $.address.change(function (event) {
                $("#tabs").tabs("select", window.location.hash)
            })

            // when the tab is selected update the url with the hash
            $("#tabs").bind("tabsselect", function (event, ui) {
                window.location.hash = ui.tab.hash;
            })
        });

        function EnableShowTab() {
            $('#tabs').tabs('enable', 2);
            $('#tabs').tabs('select', 2);

        }

        $(function () {
            $('#tabs').tabs({ disabled: [2] });
        });


    </script>
</head>
<body>
    <div id="header">
        <h1>
            LiU Trading
        </h1>
        <div id="logindisplay">
            @Html.Partial("_LogonPartial")
        </div>
    </div>
    <div id="container">    
        @RenderBody()
    </div>
</body>
</html>
